package com.yanu.t2s.service;

import com.yanu.t2s.entity.Meat;

import java.util.List;

public interface MeatService {
    Meat findByIdMeat(int id_meat);
    List<Meat> findAllMeat();
    void insertmeat(Meat meat);
    //属于某个tuzai户的所有猪肉
    List<Meat> findAllmeatofonetuzai(int id_tuzai);
    //属于某个Pifa的所有猪肉
    List<Meat> findAllmeatofonepifa(int id_pifa);
    //批发市场对屠宰的猪肉购买
    void buymeatwithpifa(int id_pifa,int id_meat);
    //零售市场对批发市场的猪肉选购
    void buymeatwithlingshou(int id_lingshou,int id_meat);
}
